#include "StdAfx.h"
#include "ExtData.h"


std::map<int, CExtData*> g_ExtData;

typedef std::map<int, CExtData*>::iterator g_Iter;

g_Iter gIter;



std::map<char*, CCallInfo*> g_CallInfo;

//std::map<int, CChannelInfo*> g_ChData;
//typedef std::map<int, CChannelInfo*>::iterator g_Chiter;


REG_STATUS ext_statusquery(int& key)
{
	g_Iter iter = g_ExtData.find(key);
	if(iter != g_ExtData.end() )
	{
		return ((*iter).second)->u_state;
	}
}